import Vue from 'vue'
import App from './App'

// vuex
import store from './store'

import uView from '@/uni_modules/uview-ui'

// 引入uView提供的对vuex的简写法文件
Vue.prototype.$store = store


Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(uView)
require('./common/props')

const QQMapWX = require('@/lib/qqmap-wx-jssdk.min.js');
Vue.prototype.$qqmap = new QQMapWX({
	key: 'SWFBZ-QUMLU-Y6CVD-BIMJI-G6YXQ-4FFDN'
});


import mixin from './common/mixin'
Vue.mixin(mixin)


let vuexStore = require('@/store/$u.mixin.js');
Vue.mixin(vuexStore);

const app = new Vue({
	store,
	...App
})

// 引入请求封装
require('./util/request/index')(app)

app.$mount()
